package hu.mapro.model.generator;

import com.sun.codemodel.JClass;

public class PropertyInformationBean implements PropertyInformation {

	String name;
	
	String readMethod;

	String writeMethod;

	JClass type;
	
	boolean isEnum;
	
	PropertyInformation inverseProperty;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getReadMethod() {
		return readMethod;
	}

	public void setReadMethod(String readMethod) {
		this.readMethod = readMethod;
	}

	public String getWriteMethod() {
		return writeMethod;
	}

	public void setWriteMethod(String writeMethod) {
		this.writeMethod = writeMethod;
	}

	public JClass getType() {
		return type;
	}

	public void setType(JClass type) {
		this.type = type;
	}

	@Override
	public boolean isEnum() {
		return isEnum;
	}

	public void setEnum(boolean isEnum) {
		this.isEnum = isEnum;
	}

	public PropertyInformation getInverseProperty() {
		return inverseProperty;
	}

	public void setInverseProperty(PropertyInformation inverseProperty) {
		this.inverseProperty = inverseProperty;
	}
	
}
